package org.xxmi.interview;

public class Test3 {

    static int test(){
        int x = 1;
        try{
            return x;
        }finally {
            x = 100;
        }
    }

    public int get(){
        try {
            return 1;
        }finally {
            return 2;
        }
    }

    public static void main(String[] args) {
        int test = test();
        System.out.println(test);
        Test3 test3 = new Test3();
        int i = test3.get();
        System.out.println(i);
    }
    String name = "张三";
    final class Test301{
        public final void get(){
            System.out.println(name);
        }
    }

}
